/*
*	(*^。^*) TFrameWork License (*^。^*)
*/

/*
 *  Title :  
 *          
 *  Description :  
 *          
 *          
 *  Date : 
 *
 *  Author : DengPing
 *
 *  Modify : 
 */
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace TFrameWork.Module.ActionEditor
{
    public enum BreakType
    {
        Destroy,
        Break,
        Replace,
    }
    
    public interface IOnTrack
    {
        TrackEventBase eventData { get; }
        TimeLineAction timeLineAction { get; }
        int currentFrame { get; set; }

        void Init(TimeLineAction timeLineAction);

        void OnStart(TrackEventBase data);
        void OnUpdate(int frameIndex);
        void OnFinish();
        void OnBreak(BreakType type);
    }
}
